package cn.imvc.app.models;

import org.springframework.data.domain.Page;

import cn.imvc.app.entities.Position;
import cn.imvc.data.domain.ViewRequest;

public interface PositionModel {
	
	Page<Position> find(ViewRequest viewRequest);

	Position get(int id);
	
	String treeLookup(int depid);
	
	String lookupSuggest(int depid);

	Position save(Position position);

	Position update(int id,Position position);

	void delete(int id);

	void deleteBatch(int[] ids);
}
